package wml.clipstore.restriction;

public class Or extends Restriction {
	
	private Restriction[] restrictions;

	public Or(Restriction... restriction){
		this.restrictions = restriction;
	}
	
	public String toString(){
		StringBuilder str = new StringBuilder("(or ");
		for(Restriction c:restrictions){
			str.append(c.toString()).append(" ");
		}
		return str.append(")").toString();
	}
}
